const mongoose = require("mongoose")
const Schema = mongoose.Schema
const UserType = {
    username: String,
    address: String,
    tel: String
}

const UserModel = mongoose.model("user", new Schema(UserType))
//模型user 将会对应users集合

module.exports = UserModel